package dowork;

import com.android.uiautomator.core.UiDevice;
import com.android.uiautomator.testrunner.UiAutomatorTestCase;
import com.sutuijingling.a.b;
import com.sutuijingling.result.c;

public class RestartMobile extends UiAutomatorTestCase {
    public void testDoWork() {
        UiDevice uiDevice = getUiDevice();
        b a = b.a(uiDevice);
        try {
            a.d(uiDevice);
        } catch (c e) {
            e.printStackTrace();
            a.f(uiDevice);
        } catch (Exception e2) {
            e2.printStackTrace();
            a.f(uiDevice);
        }
    }
}
